Skip to main content

Create Contact

AutomatR.HubSpot.Activities.CreateContact

The "Create Contact" activity in AutomatR for HubSpot facilitates the creation of a new contact with various attributes in a HubSpot user's account. This activity is part of the HubSpot activities package and simplifies the process of adding contacts to HubSpot.

Properties

NameDescription
Input
EmailEnter the unique email address of the new contact. String variables containing the email address.
First NameEnter the first name for the contact. String variables containing the first name.
Last NameEnter the last name for the contact. String variables containing the last name.
Job TitleEnter the job title for the contact. String variables containing the job title.
Life Cycle StageEnter the life cycle stage for the contact from predefined values in HubSpot (e.g., marketingqualifiedlead). String variables containing the life cycle stage.
Lead StatusEnter the lead status for the contact from predefined values in HubSpot (e.g., New). String variables containing the lead status.
Owner IDEnter the existing owner ID in the HubSpot user's account to which the contact will be assigned. String variables containing the owner ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (e.g., 5 seconds) to start the activity. Integer variables containing the delay duration.
Output
ResultReturns the response as a HubSpotContactCreatedResult object. Variables of type HubSpotContactCreatedResult to store the operation result.

How to Use

  1. Drag and drop the "Create Contact" activity onto the workflow.
  2. Configure the properties by specifying the email address, first name, last name, job title, life cycle stage, lead status, and owner ID for the new contact.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to create the contact in HubSpot.

Example:

Consider an example where the "Create Contact" activity is used to add a new contact to HubSpot:

Create Contact:
Display Name: "Add New Contact"
Email: "john.doe@example.com"
First Name: "John"
Last Name: "Doe"
Job Title: "Software Engineer"
Life Cycle Stage: "marketingqualifiedlead"
Lead Status: "New"
Owner ID: "123456"
Result: hubSpotContactResult

In this example, the activity creates a new contact with the email address "john.doe@example.com," first name "John," last name "Doe," job title "Software Engineer," life cycle stage "marketingqualifiedlead," lead status "New," and assigns it to the owner with ID "123456." The result of the operation is stored in the variable hubSpotContactResult for further handling in the workflow.